<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>登录表单</h2>
<from th:action="@{/login}">
    <table>
        <tr>
            <td>用户名：</td>
            <td><input type="text" required></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" required></td>
        </tr>
        <tr>
            <td><button type="submit">提交</button></td>
        </tr>
    </table>
</from>
</body>
</html>